package client_gui;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import client_controllers.EmployeeLoginController;
import client_controllers.MarketingManagerController;

public class MarketingManagerGUI extends MarketingEmployeeGUI{
	/**
	 * @class MarketingManagerGUI generates frame for marketing managers
	 */

	private JButton btnCampaignReports;
	private JButton btnCustomerReports;
	private JButton btnMaintainArea;
	private JButton btnDefineCategory;
	private JButton btnDefineType;
	private JButton btnClassifyProductTo;
	private JButton btnInitiateMarketingCampaign;

	public MarketingManagerGUI(EmployeeLoginController elc) {
		super(elc);
		//need to dispose fathers gui . 
		getAnalysisSystem().setLocation(259, 45);
		getMaintainProduct().setLocation(10, 88);
		getDefineCampaignPattern().setLocation(10, 45);
		this.setTitle("Marketing Manager Window");
		getLogout().setLocation(396, 11);
		
		btnCampaignReports = new JButton("Campaign Reports");
		btnCampaignReports.setBounds(259, 88, 226, 32);
		getContentPane().add(btnCampaignReports);
		
		btnCustomerReports = new JButton("Customer Reports");
		btnCustomerReports.setBounds(259, 139, 226, 32);
		getContentPane().add(btnCustomerReports);
		
		btnMaintainArea = new JButton("Maintain Area");
		btnMaintainArea.setBounds(10, 139, 226, 32);
		getContentPane().add(btnMaintainArea);
		
		btnDefineCategory = new JButton("Define Category");
		btnDefineCategory.setBounds(10, 189, 226, 32);
		getContentPane().add(btnDefineCategory);
		
		btnDefineType = new JButton("Define Type");
		btnDefineType.setBounds(259, 189, 226, 32);
		getContentPane().add(btnDefineType);
		
		btnClassifyProductTo = new JButton("Classify Product To Type & Category");
		btnClassifyProductTo.setBounds(106, 232, 317, 32);
		getContentPane().add(btnClassifyProductTo);
		
		btnInitiateMarketingCampaign = new JButton("Initiate Marketing Campaign");
		btnInitiateMarketingCampaign.setBounds(136, 287, 226, 33);
		getContentPane().add(btnInitiateMarketingCampaign);
		
		MarketingManagerController mmc = new MarketingManagerController(this,elc);
		
		setSize(600,400);
		
	
	}

	public JButton getBtnCampaignReports() {
		return btnCampaignReports;
	}

	public void setBtnCampaignReports(JButton btnCampaignReports) {
		this.btnCampaignReports = btnCampaignReports;
	}

	public JButton getBtnCustomerReports() {
		return btnCustomerReports;
	}

	public void setBtnCustomerReports(JButton btnCustomerReports) {
		this.btnCustomerReports = btnCustomerReports;
	}

	public JButton getBtnMaintainArea() {
		return btnMaintainArea;
	}

	public void setBtnMaintainArea(JButton btnMaintainArea) {
		this.btnMaintainArea = btnMaintainArea;
	}

	public JButton getBtnDefineCategory() {
		return btnDefineCategory;
	}

	public void setBtnDefineCategory(JButton btnDefineCategory) {
		this.btnDefineCategory = btnDefineCategory;
	}

	public JButton getBtnDefineType() {
		return btnDefineType;
	}

	public void setBtnDefineType(JButton btnDefineType) {
		this.btnDefineType = btnDefineType;
	}

	public JButton getBtnClassifyProductTo() {
		return btnClassifyProductTo;
	}

	public void setBtnClassifyProductTo(JButton btnClassifyProductTo) {
		this.btnClassifyProductTo = btnClassifyProductTo;
	}

	public JButton getBtnInitiateMarketingCampaign() {
		return btnInitiateMarketingCampaign;
	}

	public void setBtnInitiateMarketingCampaign(JButton btnInitiateMarketingCampaign) {
		this.btnInitiateMarketingCampaign = btnInitiateMarketingCampaign;
	}

}	
